package net.ericaro.neojavagen.classes;

/**
 * <b>Throws</b> ::= "throws" <{@link net .ericaro .neojavagen .classes .ExceptionTypes ExceptionTypes}>
 * 
 * @author eric@ericaro.net
 */
public class Throws extends net.ericaro.neojavagen.JavaPartComposition {
	private net.ericaro.neojavagen.classes.ExceptionTypes exceptionTypes;

	public Throws(net.ericaro.neojavagen.classes.ExceptionTypes exceptionTypes) {
		super();
		this.exceptionTypes = exceptionTypes;
	}

	public net.ericaro.neojavagen.classes.ExceptionTypes getExceptionTypes() {
		return exceptionTypes;
	}

	public void setExceptionTypes(net.ericaro.neojavagen.classes.ExceptionTypes exceptionTypes) {
		this.exceptionTypes = exceptionTypes;
	}

	@Override
	public java.lang.String toString() {
		return print("throws", exceptionTypes);
	}
}
